home *** CD-ROM | disk | FTP | other *** search
- Path: sascha.esrac.ele.tue.nl!leon
- From: leon@esrac.ele.tue.nl (Leon Woestenberg)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: CreateNewProc() in Amiga E
- Date: 21 Jan 1996 23:13:19 GMT
- Organization: Eindhoven Student Radio Amateur Club
- Message-ID: <4duhaf$irc@tuegate.tue.nl>
- References: <618.6593T1134T901@mailbox.swipnet.se>
- NNTP-Posting-Host: sascha.esrac.ele.tue.nl
- X-Newsreader: TIN [version 1.2 PL2]
-
- Daniel Adolfsson (m-29431@mailbox.swipnet.se) wrote:
-
- : How should I get this E-program to work? When I run it, a guru-requester
- : comes up telling me that program 'subtask' failed...
-
- : PROC subtaskcode()
- : DisplayBeep(0)
- : Delay(50)
- : Signal(mama,SIGBREAKF_CTRL_F)
- : ENDPROC
-
- For one thing, the global data pointer isn't set when the subtaskcode is
- entered. Use the geta4() proc from the E distribution to set it. In general,
- there are a lot of other issues you need to be aware of in order to write
- safe multithreaded programs.
-
- : _/ Systemfriendly programmer | Amiga - Back for the Future! | IRC: \_
-
- I hope so. Don't do threads the easy way!
-
- Greetings, Leon.
-
-